﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Product_Select_Window.aspx.cs" Inherits="CNVP.JShop.Web.Admin.CommonWindows.Product_Select_Window" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title><%=CNVP.Config.UIConfig.SiteName%></title>
        <link href="../CSS/Global.css" rel="stylesheet" type="text/css" />
    <link href="../CSS/List.css" rel="stylesheet" type="text/css" />
    <script src="../../Scripts/jquery.js" type="text/javascript"></script>
    <script src="../../Scripts/Common.js" type="text/javascript"></script>
    <script src="../Common/Option.js" type="text/javascript"></script>
</head>
<body onload="ActiveCoolTable()">
    <form id="form1" runat="server">

    <table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td >
    <div class="EditBtn" style="text-align:left">
        <asp:Button ID="btUp" runat="server" Text="确定" OnClick="btUp_Click"/>
        </div>
    </td>
    <td>&nbsp;</td>
  </tr>
</table>
</td>
  </tr>
  <tr>
    <td>
       <table width="100%" border="0" cellspacing="0" cellpadding="0" class="ListTable">
        <asp:Repeater ID="rpList" runat="server" onitemcommand="rpList_ItemCommand" >
                <HeaderTemplate>
                      <thead>
                            <tr>
                        <th class="CheckBox"><input onclick="checkAllLine()" id="checkedAll" name="checkedAll" type="checkbox" title="全部选择/全部不选" /></th>
                        <th >产品名称</th>
                        <th>货号</th> 
                        <th>库存</th>
                        <th>销售价格</th>
                        <th>规格值</th>
                        <th>操作</th>
                       </tr>
                        </thead>
                         <tbody>
                </HeaderTemplate>
                <ItemTemplate>
                        <tr>
                            <td class="CheckBox">
                            <asp:CheckBox id="cbCheck" runat="server" ToolTip='<%#Eval("oID_ProDetailID")%>'></asp:CheckBox>
                        </td>
                        <td><%#Eval("oProductName")%></td>
                        <td><%#Eval("oProDetailNo")%></td>
                        <td><%#Eval("oStockNum")%></td>
                        <td><%#Eval("oSalePrice")%></td>
                        <td title="<%#Eval("oStandardValues")%>"><%#Eval("oStandardValueIDs")%></td>
                        <td>
                            <asp:LinkButton ID="linkBTSelect" runat="server" CommandName="Select" CommandArgument='<%#Eval("oID_ProDetailID")%>'>选择</asp:LinkButton>
                            </td>
                    </tr>
                </ItemTemplate>
                <FooterTemplate>
                                 <asp:Literal ID="lblEmpty" Text="<tr><td colspan='7'>没有符合条件的条目!</td></tr>" runat="server" Visible='<%#bool.Parse((rpList.Items.Count==0).ToString())%>'></asp:Literal>
                   </tbody>
                </FooterTemplate>
        </asp:Repeater>
               <tfoot>
                      <tr><td colspan="7"><div id="paging" runat="server"></div></td></tr>
                      </tfoot>
                    </table>

    </td>
  </tr>
</table>
    </form>
</body>
</html>
